package com.lpb.spring.lpbspring.context.annotation;

import java.lang.annotation.*;

/**
 * @ClassName Autowired
 * @Description
 * @date 2022/12/19 00:00
 * @Version 1.0
 * @authoe linpengbo
 */
//可以修饰构造函数、方法、参数、字段、注解
@Target({ ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD,
        ElementType.ANNOTATION_TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Autowired {

    boolean required() default true;
}
